9e4164f06fbc0ca4ebd0560b818b7d7232111498,camel-core/src/main/java/org/apache/camel/component/file/GenericFileConfiguration.java,GenericFileConfiguration,setFile,#String#,34

Before Change



    public void setFile(String file) {
        // must normalize path to cater for Windows and other OS
        this.file = FileUtil.normalizePath(file);
    }

    public String toString() {

After Change


    }

    public void setFile(String file) { 
        this.file = needToNormalize()
            // must normalize path to cater for Windows and other OS
            ? FileUtil.normalizePath(file)
            // for the remote file we don't need to do that   
            : file;        
    }